package com.baway.biliclitent.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

/**
 * 1.类的用途：
 * 2.作者：${赵渊} on 2017/3/10 11:14
 */
public class LiveGridView extends GridView {
    public LiveGridView(Context context) {
        super(context);
    }
    public LiveGridView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, expandSpec);
    }
}
